<template>
	<view>
		<view class="top_box">
			<view class="left" @click="navPhoneVerify">
				支付密码
				<view class="gun"></view>
			</view>
			<view class="right" @click="navRechargeRecord">
				<text>充值记录</text>
				<image src="@/static/right@2.png"></image>
			</view>
		</view>
		<!-- <image class="bankCard" src="../../static/bankCard.png"></image> -->
		<view class="btn_box">
			<view class="btns">
				<image src="../../static/plusSign.png"></image>
				<text>添加银行卡</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			// 跳转充值记录
			navRechargeRecord() {
				uni.navigateTo({
					url: "/personalData/rechargeRecord/rechargeRecord"
				})
			},
			// 支付密码跳转

			navPhoneVerify() {
				uni.navigateTo({
					url: "/personalData/phoneVerify/phoneVerify"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.top_box {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 30rpx;

		.left {
			font-size: 28rpx;
			font-family: Source Han Sans CN-Medium, Source Han Sans CN;
			font-weight: 500;
			color: #222222;
			line-height: 1em;
			position: relative;


			.gun {
				width: 100%;
				position: absolute;
				bottom: -8rpx;
				height: 14rpx;
				background: rgba(249, 77, 41, 0.11);
			}
		}

		.right {
			font-size: 28rpx;
			font-family: Source Han Sans CN-Medium, Source Han Sans CN;
			font-weight: 500;
			color: #222222;
			line-height: 1em;
			gap: 0 12rpx;
			display: flex;
			align-items: center;

			image {
				width: 8rpx;
				height: 16rpx;
			}
		}
	}

	.bankCard {
		display: block;
		width: 584rpx;
		height: 372rpx;
		margin: 40rpx auto 0 auto;
	}

	.btn_box {
		background-color: #f7f7f7;
		width: 100%;
		position: fixed;
		bottom: 66rpx;
		display: flex;
		justify-content: center;

		.btns {
			width: 690rpx;
			height: 96rpx;
			background: linear-gradient(360deg, #F99529 0%, #F94D29 100%);
			border-radius: 83rpx;

			font-size: 36rpx;
			font-family: Source Han Sans CN-Medium, Source Han Sans CN;
			font-weight: 500;
			color: #FFFFFF;
			display: flex;
			justify-content: center;
			align-items: center;
			gap: 0 20rpx;

			image {
				width: 34rpx;
				height: 34rpx;
			}
		}
	}
</style>
